﻿<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common/meta.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>新闻信息管理</title>
<link href="${ctx}/js/validate/jquery.validate.css" type="text/css" rel="stylesheet" />
<script src="${ctx}/js/validate/jquery.validate.js" type="text/javascript"></script>
<script src="${ctx}/js/validate/messages_cn.js" type="text/javascript"></script>
	
<script>
$(document).ready(function(){

		$("#names").focus();
		$("#columnForm").validate({
			 rules: { 
				names: { 
        			required: true, 
        			maxlength:20,
        			remote: "epColumnAction!checkName.action?orgName=''&columnName="+$("#columnName").attr("value")+"&math="+Math.random()
    			},
            	shortName: {
                    required: true ,
			        maxlength:20
        	    },
        	    orderColumn:{
        	    	required: true ,
        	    	number:true
        	    },
        	    linkUrl:{
        	    	url:true,
        	    	maxlength:100
        	    },
        	    typeColumn:{
        	    	required: true ,
        	    	maxlength:50
        	    },
        	    frontNum:{
        	    	maxlength:20
        	    },
        	    num:
        	    {
        	    	maxlength:20
        	    },
        	    intro:
        	    {
        	    	maxlength:500
        	    }
			}	
		});
	});	
</script>
	</head>
	<body>
	<div class="rhead">
		<div class="rpos">当前位置: 栏目配置 - 添加栏目信息</div>
		<div class="ropt"><input type="button" value="返回" onclick="history.back()"/></div>
		<div class="clear"></div>
	</div>
	<form action="epColumnAction!add.action" method="post" id="columnForm">
		<table  align="center" class="listTable3" width="90%">
			<tr>
				<td class="pn-flabel">10元套餐</td><td><input type="text" name="num" size="60" /></td>
			</tr>
			<tr>
				<td colspan="2" align="center">
					<input type="submit" value=" 提 交 "/>
					<input type="button" value=" 返回 " onclick="history.back()"/>
				</td>
			</tr>
		</table>
	</form>
	</body>
</html>

